﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:UserControls="clr-namespace:JuCloudy.Platform.Structure.UI.UserControls"
    xmlns:UcTemplate="clr-namespace:JuCloudy.Platform.UserControls;assembly=JuCloudy.Platform.UserControls"
    x:Class="JuCloudy.Platform.Structure.UI.MainPage"
    mc:Ignorable="d"
    d:DesignHeight="600" d:DesignWidth="1024">
    
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid x:Name="DefaultRoot">
            <Rectangle Fill="#FF5b6f8c"/>
            <Rectangle>
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#7FFFFFFF" Offset="0"/>
                        <GradientStop Color="Transparent" Offset="1"/>
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <Rectangle VerticalAlignment="Top" Fill="Black" Height="1" Opacity="0.5">
                <Rectangle.Effect>
                    <DropShadowEffect Direction="275" ShadowDepth="1" BlurRadius="3"/>
                </Rectangle.Effect>
            </Rectangle>
            <Border Background="White" Margin="10" CornerRadius="5">
                <Border.Effect>
                    <DropShadowEffect BlurRadius="15" ShadowDepth="1" Opacity="0.75"/>
                </Border.Effect>
                <Grid>
                    <Grid VerticalAlignment="Top" Height="47">
                        <Grid x:Name="g_Header_bg">
                            <Rectangle Fill="#FF2f3f57" RadiusX="5" RadiusY="5"/>
                            <Rectangle Fill="#FF2f3f57" VerticalAlignment="Bottom" Height="5"/>
                        </Grid>
                        <Grid x:Name="g_Header_fg" Margin="1,1,1,1">
                            <Rectangle Fill="#FF3e506a" RadiusX="5" RadiusY="5"/>
                            <Rectangle Fill="#FF3e506a" VerticalAlignment="Bottom" Height="5"/>

                            <Grid HorizontalAlignment="Left" Width="169" Margin="1,0,0,0">
                                <Rectangle Fill="#FF384962" Width="1" HorizontalAlignment="Right"/>
                                <UcTemplate:jCombox x:Name="select_Structure" HorizontalAlignment="Center" VerticalAlignment="Center" Width="140" FontSize="14" Foreground="White" SelectionChanged="select_Structure_SelectionChanged"/>

                            </Grid>
                            <StackPanel Margin="180,0,0,0" Orientation="Horizontal">
                                <Grid Width="32" Height="32">
                                    <Rectangle Stroke="#FF2f3f57" RadiusX="3" RadiusY="3">
                                        <Rectangle.Fill>
                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                <GradientStop Color="#FF4D6283" Offset="0"/>
                                                <GradientStop Color="#FF40526d" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Rectangle.Fill>
                                    </Rectangle>
                                    <Rectangle Fill="#FF5f789e" Height="1" Margin="2,1,2,0" VerticalAlignment="Top"/>
                                    <Path Data="F1M1337.43,1007.95L1337.43,1027.45 1350.23,1027.45 1350.23,1010.99 1362.27,1010.99 1362.27,1027.51 1374.51,1027.51 1374.51,1007.83 1356.25,991.558 1337.43,1007.95z M1374.48,995.962L1374.48,985.032 1368.65,985.032 1368.65,990.799 1356.17,979.755 1356.13,979.713 1329.47,1003.31 1333.08,1007.39 1356.13,986.992 1379.2,1007.41 1382.81,1003.34 1374.48,995.962z" 
                                      Stretch="Uniform" Fill="#FFeef1f8" 
                                      Width="18" Height="18" Margin="0,0,0,0" RenderTransformOrigin="0.5,0.5">
                                        <Path.RenderTransform>
                                            <TransformGroup>
                                                <TransformGroup.Children>
                                                    <RotateTransform Angle="0" />
                                                    <ScaleTransform ScaleX="1" ScaleY="1" />
                                                </TransformGroup.Children>
                                            </TransformGroup>
                                        </Path.RenderTransform>
                                    </Path>
                                    <HyperlinkButton x:Name="btn_GoHome"></HyperlinkButton>
                                </Grid>
                            </StackPanel>
                        </Grid>
                        <Rectangle VerticalAlignment="Top" Height="1" Margin="6,1,6,0" Fill="#FF4D6383"/>
                    </Grid>
                    <Grid HorizontalAlignment="Left" Margin="0,47,0,0" Width="170">
                        <Rectangle Fill="#FFeef1f8"/>
                        <Rectangle Fill="#FFc1d1dc" HorizontalAlignment="Right" Width="1"/>
                        <StackPanel  x:Name="g_menu"></StackPanel>
                    </Grid>
                    <Grid Margin="170,47,0,0" VerticalAlignment="Top" Height="25">
                        <Grid.Background>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FFFBFBFC" Offset="0"/>
                                <GradientStop Color="#FFF4F6FB" Offset="1"/>
                            </LinearGradientBrush>
                        </Grid.Background>
                        <Rectangle VerticalAlignment="Bottom" Fill="#FFDBE7EF" Height="1"/>
                        <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
                            <TextBlock x:Name="txt_brumb" TextWrapping="Wrap" Text="首页>" Foreground="#FF5aa3de" FontSize="14"/>
                        </StackPanel>
                    </Grid>
                    <Grid VerticalAlignment="Top" Margin="170,72,0,0" Height="100" Background="#FFF7F8FA">
                        <Rectangle VerticalAlignment="Top" Height="1" Fill="White"/>
                        <Rectangle VerticalAlignment="Bottom" Height="1" Fill="#FFDBE7EF"/>
                        <StackPanel Orientation="Horizontal" VerticalAlignment="Top" Margin="30,15,0,0">
                            <TextBlock x:Name="txt_appname" Text="添加新产品" FontSize="20"></TextBlock>
                        </StackPanel>
                        <StackPanel Orientation="Horizontal" VerticalAlignment="Top" Margin="30,40,0,0">
                            <TextBlock x:Name="txt_appintroduction" Text="点击这里从产品库中选择已有的产品发布" FontSize="13"></TextBlock>
                        </StackPanel>
                        <StackPanel HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,35,0">
                            <Grid Width="32" Height="32">
                                <Rectangle RadiusX="3" RadiusY="3" Stroke="#FFBFCEDA">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                            <GradientStop Color="#FFF4F5F9" Offset="0"/>
                                            <GradientStop Color="#FFE3E5EB" Offset="1"/>
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                                <Rectangle VerticalAlignment="Top" Height="1" Fill="#FFBFCEDA" Margin="2,0"/>
                                <Rectangle VerticalAlignment="Top" Height="1" Fill="#FFF" Margin="2,1,2,0"/>
                                <Path 
                                Data="M56.705303,6.3580006C53.5452,6.3580001 50.984001,8.9197515 50.984001,12.079175 50.984001,15.239178 53.5452,17.801001 56.705303,17.801001 59.866802,17.801001 62.428005,15.239178 62.428005,12.079175 62.428005,8.9197515 59.866802,6.3580001 56.705303,6.3580006z M33.33345,6.3580006C30.173269,6.3580001 27.612001,8.9197515 27.612001,12.079175 27.612001,15.239178 30.173269,17.801001 33.33345,17.801001 36.493736,17.801001 39.055004,15.239178 39.055004,12.079175 39.055004,8.9197515 36.493736,6.3580001 33.33345,6.3580006z M9.9599902,6.3580006C6.799195,6.3580001 4.2379996,8.9197515 4.2379996,12.079175 4.2379996,15.239178 6.799195,17.801001 9.9599902,17.801001 13.120804,17.801001 15.682,15.239178 15.682,12.079175 15.682,8.9197515 13.120804,6.3580001 9.9599902,6.3580006z M48.44133,0L64.971664,0C65.909179,3.1507148E-07,66.666999,0.75915219,66.666999,1.6953036L66.666999,47.046711C66.666999,47.982807,65.909179,48.742001,64.971664,48.742001L48.44133,48.742001C47.503811,48.742001,46.745998,47.982807,46.745998,47.046711L46.745998,1.6953036C46.745998,0.75915219,47.503811,3.1507148E-07,48.44133,0z M25.068634,0L41.597664,0C42.535183,3.1507148E-07,43.292999,0.75915219,43.292999,1.6953036L43.292999,47.046711C43.292999,47.982807,42.535183,48.742001,41.597664,48.742001L25.068634,48.742001C24.131115,48.742001,23.371999,47.982807,23.371999,47.046711L23.371999,1.6953036C23.371999,0.75915219,24.131115,3.1507148E-07,25.068634,0z M1.6953434,0L18.225664,0C19.163183,3.1507148E-07,19.920999,0.75915219,19.920999,1.6953036L19.920999,47.046711C19.920999,47.982807,19.163183,48.742001,18.225664,48.742001L1.6953434,48.742001C0.7591236,48.742001,-6.2133759E-07,47.982807,3.6948222E-13,47.046711L3.6948222E-13,1.6953036C-6.2133759E-07,0.75915219,0.7591236,3.1507148E-07,1.6953434,0z" 
                                Stretch="Uniform" 
                                Fill="#FF687188" 
                                Width="20" Height="20" Margin="0,0,0,0" RenderTransformOrigin="0.5,0.5">
                                    <Path.RenderTransform>
                                        <TransformGroup>
                                            <TransformGroup.Children>
                                                <RotateTransform Angle="0" />
                                                <ScaleTransform ScaleX="1" ScaleY="1" />
                                            </TransformGroup.Children>
                                        </TransformGroup>
                                    </Path.RenderTransform>
                                </Path>

                                <Path x:Name="p_backlayer" 
                                Data="F1M753.644,-13.0589L753.736,-12.9639 753.557,-12.7816 732.137,8.63641 732.137,29.7119 756.445,5.40851 764.094,-2.24384 764.275,-2.42352 771.834,5.1286 796.137,29.4372 796.137,8.36163 774.722,-13.0589 764.181,-23.5967 753.644,-13.0589z" 
                                Stretch="Uniform" 
                                Fill="#7F8CBF26" 
                                Width="14" Height="14" Margin="0,5,5,0" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Right" VerticalAlignment="Top" Visibility="Collapsed">
                                    <Path.RenderTransform>
                                        <TransformGroup>
                                            <TransformGroup.Children>
                                                <RotateTransform Angle="0" />
                                                <ScaleTransform ScaleX="1" ScaleY="1" />
                                            </TransformGroup.Children>
                                        </TransformGroup>
                                    </Path.RenderTransform>
                                </Path>
                                <Path 
                                Data="F1M753.644,-13.0589L753.736,-12.9639 753.557,-12.7816 732.137,8.63641 732.137,29.7119 756.445,5.40851 764.094,-2.24384 764.275,-2.42352 771.834,5.1286 796.137,29.4372 796.137,8.36163 774.722,-13.0589 764.181,-23.5967 753.644,-13.0589z" 
                                Stretch="Uniform" 
                                Fill="#FF339933" 
                                Width="12" Height="12" Margin="0,5,5,0" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Right" VerticalAlignment="Top">
                                    <Path.RenderTransform>
                                        <TransformGroup>
                                            <TransformGroup.Children>
                                                <RotateTransform Angle="0" />
                                                <ScaleTransform ScaleX="1" ScaleY="1" />
                                            </TransformGroup.Children>
                                        </TransformGroup>
                                    </Path.RenderTransform>
                                </Path>
                                <HyperlinkButton x:Name="btn_updatadiary" MouseEnter="btn_updatadiary_MouseEnter" MouseLeave="btn_updatadiary_MouseLeave" ></HyperlinkButton>
                            </Grid>
                        </StackPanel>
                    </Grid>
                    <Grid x:Name="Footer" Height="25" VerticalAlignment="Bottom">
                        <Grid.Background>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FFF4F5F9" Offset="0"/>
                                <GradientStop Color="#FFE3E5EB" Offset="1"/>
                            </LinearGradientBrush>
                        </Grid.Background>
                        <Rectangle VerticalAlignment="Top" Height="1" Fill="#FFBFCEDA"/>
                        <Rectangle VerticalAlignment="Top" Height="1" Fill="#FFF" Margin="0,1,0,0"/>
                        <StackPanel Orientation="Horizontal" Margin="0,1,0,0">
                            <UserControls:SettingButton x:Name="btn_setting"  Margin="5" Click="btn_setting_Click"/>
                            <Rectangle Width="1" Fill="#FFbfceda"/>
                            <Rectangle Width="1" Fill="#FFF"/>
                        </StackPanel>
                    </Grid>
                    <Grid x:Name="MainRoot"  Margin="170,172,0,25" />
                </Grid>
            </Border>
        </Grid>
        <Grid x:Name="CustomRoot"></Grid>
    </Grid>
</UserControl>